package com.bbx.taxi.client.DB.Util;

/**
 * 
 * @author yanxuwen
 */
public interface DBcolumns {	
	/**
	 * 地址
	 */
	public  final String TABLE_ADDRESS= "table_address";
	public  final String ADDRESS_ID = "address_id";	
	public  final String ADDRESS_NAME = "address_name";
	public  final String ADDRESS_ADDRESS = "address_address";	
	public  final String ADDRESS_LONGITUDE = "address_longitude";	
	public  final String ADDRESS_LATITUDE = "address_latitude";	
	public  final String ADDRESS_CITY = "address_city";	
	public  final String ADDRESS_COLLECTION = "address_collection";	//值为0则没有收藏，1为收藏
	/**
	 * 常用联系人
	 */
	public  final String TABLE_CONTACTS ="table_contacts";
	public  final String CONTACTS_ID = "contacts_id";	
	public  final String CONTACTS_NAME = "contacts_name";	
	public  final String CONTACTS_TEL = "contacts_tel";	
	public  final String CONTACTS_COLLECTION = "contacts_collection";	//值为0则没有收藏，1为收藏
	/**
	 * 消息
	 */
	public  final String TABLE_MESSAGE ="table_message";
	public  final String MESSAGE_ID = "_id";	
	public  final String MESSAGE_ORDER_ID = "order_id";	
	public  final String MESSAGE_TIME = "time";	
	public  final String MESSAGE_TYPE = "type";	
	public  final String MESSAGE_JSON = "json";	
	public  final String MESSAGE_READ = "is_read";//是否可读，1为已读	
	/**
	 *优惠劵
	 */
	public  final String TABLE_COUPON ="table_coupon";
	public  final String COUPON_id = "_id";	
	public  final String COUPON_ID = "coupon_id";
	public  final String COUPON_STATE = "coupon_state";
	public  final String COUPON_SUM = "coupon_sum";	//金额
	public  final String COUPON_EXPIRE_TIME = "coupon_expire_time";	//到期时间
	public  final String COUPON_ENABLE_TIME = "coupon_enable_time";	//起始时间
	public  final String COUPON_USABLETIME = "coupon_usabletime";	
	public  final String COUPON_USABLETYPE = "coupon_usabletype";	
	public  final String COUPON_USABLEORDER = "coupon_usableorder";	
	public  final String COUPON_USABLELINE = "coupon_usableline";	
	/**
	 *推荐列表
	 */
	public  final String TABLE_RECOMMEN ="table_recommen";
	public  final String RECOMMEN_id = "_id";	
	public  final String RECOMMEN_PHONE = "recommen_phone";	
	public  final String RECOMMEN_NANE = "recommen_name";	
	public  final String RECOMMEN_STATE = "recommen_state";
	public  final String RECOMMEN_HEADIMG = "recommen_headimg";	
	/**取消订单*/
	public final String TABLE_ORDER_CANCEL="table_cancel";
	public  final String CENCEL_ID = "_id";	
	public  final String CENCEL_ORDER_ID = "order_id";
	public  final String CANCEL_REASON	 = "cancel_reason";//订单q
	
	/**线路*/
	public final String TABLE_LINE="table_line";
	public  final String LINE_ID = "_id";	
	public  final String LINE_NAME = "_name";	
	public  final String LINE_CITY= "_city";
	public  final String LINE_INCITY = "incity";
	public  final String LINE_PROVINCE= "_province";
	public  final String LINE_JSON = "json";
	/**市内线路*/
	/**线路*/
	public final String TABLE_LINESN="table_linesn";
	public  final String LINESN_ID = "_id";	
	public  final String LINESN_NAME = "_name";	
	public  final String LINESN_CN_NAME = "cn_name";
	public  final String LINESN_JSON = "json";
	
	/**全部订单和经行中的订单*/
	public final String TABLE_ORDER="table_order";
	public final String TABLE_ORDERING="table_ordering";
	public  final String ORDER_ID = "_id";	
	public final String MYORDER_ID = "order_id";	
	public final String MYORDER_STATUS="order_status";
	public final String MYORDER_JSON="order_json";
}
